const TodoFooter = {
  template: `
    <div class="footer">
      <span>总共{{ todos.length }}项</span>
      <button @click="clear">清空</button>
    </div>
  `,
  inject: ['clear', 'todos'],
}

export default TodoFooter
